Disable resize grip on spin button test
authorKristian Rietveld <kris@gtk.org>
Tue, 12 Oct 2010 16:53:44 +0000 (18:53 +0200)
committerKristian Rietveld <kris@gtk.org>
Tue, 12 Oct 2010 17:12:44 +0000 (19:12 +0200)
Otherwise, the resize grip obscures the decrement button causing the
test to fail.

gtk/tests/testing.c

index 155715228ba533b23bf88740d53482071dbf3b3c..fc4244225c198287176ae9ad1623977837120017 100644 (file)
@@ -190,6 +190,8 @@ test_spin_button_arrows (void)
   gboolean simsuccess;
   double oldval, newval;
 
+  gtk_window_set_has_resize_grip (GTK_WINDOW (window), FALSE);
+
   child = gtk_bin_get_child (GTK_BIN (window));
   gtk_container_add (GTK_CONTAINER (child), spinner);
   gtk_widget_show (spinner);